package com.qwt.part_time_api.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author 君子慎独
 * @create 2022/1/2 0002 23:50
 * 信息主表
 */
@Data
public class PersonalInformation {

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "与用户账号关联id")
    private Long uid;

    @ApiModelProperty(value = "用户昵称")
    private String name;

    @ApiModelProperty(value = "年龄")
    private int age;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "角色类型")
    private Long type;

    @ApiModelProperty(value = "头像")
    private String avatars;

    @ApiModelProperty(value = "好评率")
    private int praise;

    @ApiModelProperty(value = "帐号状态")
    private int status;
}
